import { _decorator, Component, Node, Enum } from 'cc';
import { BlockType } from '../Event/EnumDefine';
const { ccclass, property } = _decorator;

@ccclass('CustomBlock')
export class CustomBlock extends Component {
    @property({
        type: Enum(BlockType),
        tooltip: '自定义摆方块时,选择当前方块的类型'
    })
    customBlockType: BlockType = BlockType.Unknown;

    @property
    customBlockNum: number = 0;  //自定义摆方块时,前方块的数量

    protected onLoad(): void {
    }

}
